import axios from '@/api/commont.js'
export const getAllRightList = (type) => {
  return axios({
    url: `rights/${type}`
  })
}

export const getMenuList = () => {
  return axios({
    url: 'menus'
  })
}
